package com.fyx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fyx.entity.*;
import org.springframework.data.domain.Pageable;

import java.io.IOException;
import java.util.List;
import java.util.Map;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 方扬秀
 * @since 2020-12-22
 */
public interface IGameService extends IService<PhoneInfo> {

    Map suggest(MessageEntity messageEntity, Pageable pageable);

    void sendEmail(CheckListEntity checkListEntity);

    Map phoneInfo(PhoneInfo phoneInfo, Pageable pageable);

    Map cdkCode(CdkDataEntity cdkDataEntity, Pageable pageable);

    void addCdkCode(CdkDataEntity cdkDataEntity);

    Map advertising(AdvertisingEntity advertisingEntity, Pageable pageable);

    Map basisData(BasisData basisData, Pageable pageable);

    Map registerDays(RegisterDays registerDays,Pageable pageable);

    Map marqueeList(String mar_title,Pageable pageable);

    Map abilityList(String channel,Pageable pageable);

    Map appAbilityList(Pageable pageable);

    boolean editAbility(AbilityEntity abilityEntity);

    boolean editAppAbility(AbilityEntity abilityEntity);

    boolean addMarquee(LampEntity lampEntity);

    boolean delMarquee(String  id);

    boolean toMarqueeNotice(String  id) throws IOException;

    boolean editMarquee(LampEntity lampEntity);

   Map miniGameList(MiniGameInfoEntity  miniGameInfoEntity, Pageable pageable);

    boolean addMiniGame(MiniGameInfoEntity  miniGameInfoEntity);

   void delMiniGame(String id);

   boolean editMiniGame(MiniGameInfoEntity  miniGameInfoEntity);

   List<MiniGameInfoEntity> getMiniGameList();

    Map serverConfigList(ServerConfEntity  serverConfEntity, Pageable pageable);
}
